<div>Let’s define:&nbsp;</div><ul><li><b>Nearest neighbor diversity</b>: it’s the average distance between a generated molecule in <i>A</i> and its nearest neighbor in the training set <i>B</i>. The formula is:&nbsp;</li></ul><div></div>